package com.gps.pe.dao;

import java.util.List;

import com.gps.pe.exception.DAOException;
import com.gps.pe.model.Role;

/**
 * 
 * @author GPS
 *
 */
public interface IRoleDAO {
	public Role getRole(int roleId) throws DAOException;

	public List<Role> getAllRole() throws DAOException;

	public boolean addRole(Role role) throws DAOException;

	public boolean updateRole(Role role) throws DAOException;

	public boolean deleteRole(Role role) throws DAOException;
}
